<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Carbon\Carbon;

/**
 * Class Withdraw
 * 
 * @property int $id
 * @property int $uid
 * @property string $order_sn
 * @property float|null $amount
 * @property int|null $status
 * @property Carbon|null $create_at
 * @property Carbon|null $update_at
 * @property Carbon|null $success_time
 * @property string|null $examine_msg
 *
 * @package App\Models
 */
class Withdraw extends BaseModels
{
	protected $table = 'zh_withdraw';

	const SUCCESS = 2; //提现成功


	protected $casts = [
		'uid' => 'int',
		'amount' => 'float',
		'status' => 'int'
	];

	protected $dates = [
		'create_at',
		'update_at',
		'success_time'
	];

	protected $fillable = [
		'uid',
        'order_sn',
		'amount',
		'status',
		'create_at',
		'update_at',
		'success_time',
		'examine_msg'
	];
}
